import { connect } from 'react-redux';

import CustomList from '../../components/CustomList';

const mapStateToProps = (state) => {
  const { lists, isFetching } = state.getTVLists
  console.log(state)
  if (lists) {
  	return { lists, isFetching }
  }else {
  	return { isFetching }
  }
} 

export default connect(
  mapStateToProps,
)(CustomList)